<?php
namespace Admin\Controller;
use Think\Controller;
use \sinacloud\sae\Storage;
 
class ApplicationController extends Controller {
 
    const
        ACCOUNT = 'wytd',
        DOMAIN = 'assets',
        DOMAIN_IMAGE_DIR = 'images/';
 
    protected $storage;
 
    public function _initialize() {	
        $this->storage = new Storage(); //默认会自动取accesskey、secretkey
	}
}